<div id="slsModal" style="display: none;" class="done"></div>
<div id="slsModalOverlay" style="opacity: 0.3; display: none;"></div>

<div id="localisationContainer" style="display: none;">
	<h3 id="loginTitle"><?php echo $sls->gt('text_editor', 'Text editor', null, true); ?></h3>
	<form action="/sls.php?act=translate" method="post" id="LocaleForm">
		<div class="local_input">
			<label for="localeSource"><?php echo $sls->gt('source_text', 'Source Text', null, true); ?></label>
			<div id="localeSource"><?php echo $sls->gt('updated_label', 'updated', null, true); ?></div>
		</div>
		<div class="local_input">
			<label for="LocaleLocaleTranslation"><?php echo $sls->gt('translation_to', 'Translation to', null, true);?> <span id="LocaleTranslationLabel"></span></label>
			<textarea id="LocaleLocaleTranslation" name="data[Locale][LocaleTranslation]"></textarea>
		</div>
		<div id="PasswordBlock" class="local_input">
			<label for="localePasswd"><?php echo $sls->gt('password', 'Password', null, true);?></label>
			<input type="text" name="data[Locale][Password]" class="localePasswd" id="LocalePassword"/>
		</div>		
		<div style="clear: both;">
			<input type="hidden" value="updated" name="data[Locale][textId]" id="localeTextId"/>
			<input type="submit" title="Update" value="<?php echo $sls->gt('update','Update', null, true);?>" id="textUpdate"/>
			<input type="button" onclick="javascript:sls.localisation.hide();" title="Cancel" value="<?php echo $sls->gt('cancel','Cancel', null, true);?>" id="textCanel"/>
		</div>
	</form>
</div>